package com.atguigu.eduservice.service;

import com.atguigu.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author zhaolie
 * @since 2020-12-02
 */
public interface EduTeacherService extends IService<EduTeacher> {
    /**
     * 分页获取讲师信息
     *
     * @param current
     * @param limit
     * @return
     */
    Map<String, Object> getTeacherList(Long current, Long limit);

    /**
     * 查询讲师详情
     * @param id
     * @return
     */
    EduTeacher getTeacherInfo(Long id);
}
